package com.sunwayhorizo.health.hl7.persistent;

import com.sunwayhorizo.health.hl7.persistent.pk.RimCoreEntyLanguagesPK;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.NamedQuery;
import javax.persistence.Table;


@Entity
@NamedQuery(name = "RimCoreEntyLanguages.findAll",     query = "select o from RimCoreEntyLanguages o")
@Table(name = "RIM_CORE_ENTY_LANGUAGES")
@IdClass(RimCoreEntyLanguagesPK.class)
public class RimCoreEntyLanguages implements Serializable {
    @Id
    @Column(name="ENTITY_ID", nullable = false)    private Long entityId;
    @Id
    @Column(name="ENTITY_LANGUAGE_ID", nullable = false)    private Long entityLanguageId;
    @Id
    @Column(name="ENTITY_VERSION_NUM", nullable = false)    private Long entityVersionNum;
    @Column(name="LANGUAGE_CODE_ETS_ID")    private String languageCodeEtsId;
    @Column(name="LANGUAGE_USE_REFERENCE_ID")    private Long languageUseReferenceId;
    @Column(name="MODE_CODE_ETS_ID")    private String modeCodeEtsId;
    
    @Column(name="PREFERENCE_FLAG")    private String preferenceFlag;
    @Column(name="PROFICIENCY_LEVEL_CODE_ETS_ID")    private String proficiencyLevelCodeEtsId;

    public RimCoreEntyLanguages() {
    }

    public Long getEntityId() {
        return entityId;
    }

    public void setEntityId(Long entityId) {
        this.entityId = entityId;
    }

    public Long getEntityLanguageId() {
        return entityLanguageId;
    }

    public void setEntityLanguageId(Long entityLanguageId) {
        this.entityLanguageId = entityLanguageId;
    }

    public Long getEntityVersionNum() {
        return entityVersionNum;
    }

    public void setEntityVersionNum(Long entityVersionNum) {
        this.entityVersionNum = entityVersionNum;
    }

    public String getLanguageCodeEtsId() {
        return languageCodeEtsId;
    }

    public void setLanguageCodeEtsId(String languageCodeEtsId) {
        this.languageCodeEtsId = languageCodeEtsId;
    }

    public Long getLanguageUseReferenceId() {
        return languageUseReferenceId;
    }

    public void setLanguageUseReferenceId(Long languageUseReferenceId) {
        this.languageUseReferenceId = languageUseReferenceId;
    }

    public String getModeCodeEtsId() {
        return modeCodeEtsId;
    }

    public void setModeCodeEtsId(String modeCodeEtsId) {
        this.modeCodeEtsId = modeCodeEtsId;
    }

    public String getPreferenceFlag() {
        return preferenceFlag;
    }

    public void setPreferenceFlag(String preferenceFlag) {
        this.preferenceFlag = preferenceFlag;
    }

    public String getProficiencyLevelCodeEtsId() {
        return proficiencyLevelCodeEtsId;
    }

    public void setProficiencyLevelCodeEtsId(String proficiencyLevelCodeEtsId) {
        this.proficiencyLevelCodeEtsId = proficiencyLevelCodeEtsId;
    }
}
